package hrx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

//springboot核心注解，起步依赖和自动配置
@SpringBootApplication
//扫描Servlet、Filter、Listener 等 Servlet 规范相关的组件（springboot默认不自动扫描）
@ServletComponentScan
public class Application {
    public static void main(String[] args) {
        //启动springboot
        SpringApplication.run(Application.class, args);
    }
}
